package com.artisan.biz.service;

import com.artisan.biz.factory.PluginFactory;
import com.artisan.plugin.impl.LocalStoragePlugin;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.io.File;

@Slf4j
@Service
public class DefaultStoreService {


    public void defaultSave(File file) {
        log.warn("config error , default storage");
        new LocalStoragePlugin().saveFile(file);
    }
}
